home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7977 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  839 b 

  1. Message-ID: <3124A4D5.FF@novell.com>
  2. Date: Fri, 16 Feb 1996 08:37:57 -0700
  3. From: Jeff Robison <jeffr@novell.com>
  4. Organization: Novell Applications Group
  5. X-Mailer: Mozilla 2.0 (Win95; I)
  6. MIME-Version: 1.0
  7. Newsgroups: comp.lang.c++
  8. Subject: Am I imagining auto_ptr?
  9. Content-Type: text/plain; charset=us-ascii
  10. Content-Transfer-Encoding: 7bit
  11. Path: news.provo.novell.com!
  12.  
  13. It seems like I recently read or heard or dreamed about a new keyword/type/whatever 
  14. in the C++ draft standard called an auto_ptr.  I believe it will automatically 
  15. delete its contents when it goes out of scope.  Something like this would be 
  16. incredibly useful when handling (or rather not having to handle) exceptions.
  17.  
  18. Am I imagining things, or does such a beast exist?  If it does exist, can you point 
  19. me to some syntax/usage documentation?
  20.  
  21. Thanks in advance,
  22. Jeff
  23.